FluentCrm\App\Services\BlockParser A

Total Complexity 62
Dependencies 4
Dependents 4
Total lines 300
Lines of code 226
Logical lines of code 162
Comment lines 0
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
sanitizeBlock()
A
45 11 41
getButtonWrapper()
A
46 10 37
alterBlockContent()
A
55 8 19
renderConditionalBlock()
S
53 7 25
getMediaTextOpening()
S
51 6 23
getButtonsOpening()
S
55 5 19
getColumnOpening()
S
63 3 9
__construct()
S
65 2 9
parse()
S
65 2 9
getRowOpening()
S
66 2 8
getImageBlockHtml()
S
60 1 12
getMediaTextClosing()
S
82 1 3
getRowClosing()
S
82 1 3
getColumnClosing()
S
82 1 3
getButtonsClosing()
S
82 1 3
renderLatestPosts()
S
82 1 3